﻿using System;

namespace Framework.Unity
{
    public interface IContainerRegistration
    {
        void RegisterAnInstance(Type contractType, object instance);
        void RegisterA(Type contractType, Type implementationType);
        void RegisterA(Type contractType, Type implementationType, Lifestyle lifestyle);
        void RegisterA(Type contractType, Func<object> func);
        void Release(object component);
    }
}